<?php 
include_once "header.php";

include "reset_aksi.php";

echo "<div class='container'>
		<div class='row'>";


        echo "<div class='span12'>
                    <div class='row'>
                        <div class='span9'>
                            <h1></h1>
                        </div>
                    </div>



                    <div class='row'>                        		

                        <div class='span5 well center'>
                            <h2>Reset Password</h2>
                            

                            <form class='' name='fr_login' action='".$_SERVER['PHP_SELF']."' method='post' onSubmit='return cekLogin()'>";
								if(is_null($quest)){
								    
								    echo "<p>Silahkan masukkan nama user anda !</p>
                                    <label>Username</label>
                                    <input type=hidden name=id value=$id>
								    <input type='text' name='myusername' class='span3' placeholder='Type username here...'/><br/>";
                                    echo "<input class='btn btn-primary pull right' type='Submit' name='Submit' value='Submit'>";
								}
                                
                                if(!is_null($quest)){
                                    echo "<p>Silahkan masukkan jawaban anda !</p>
                                    <label>Pertanyaan kunci : $quest</label><br/>                                    
                                    <input type=hidden name=id value=$id>
                                        <label>Jawaban</label>
								        <input type='text' name='answer' class='span3' placeholder='Type the answer...'/><br/>";
                                        echo "<input class='btn btn-primary pull right' type='Submit' name='Password' value='Password'>";
                                }
                                
                                if(!is_null($reset)){
                                    echo "<label>password anda adalah : <b>$reset</b></label><br/>";
                                }        
                                
                                
								
		                    echo "</form>

                        </div>

                    </div>
                </div>

            </div>
	
</div>";
    
        
    



include_once "footer.php";
?>

	